package com.cn.wanxi.service;

import com.cn.wanxi.model.PageModel;
import com.cn.wanxi.model.ProductTypeModel;

import java.util.List;
import java.util.Map;

public interface IProductTypeService {

    int addProductType(ProductTypeModel productType);

    int deleteProductType(int id);

    int updateProductType(ProductTypeModel productType);

    List<ProductTypeModel> getProductTypeList();

    ProductTypeModel getProductType(int id);

    PageModel<ProductTypeModel> getProductTypes(Map<String,Object> map);

    int updateShow(int id, int show);
}
